<?php Yii::app()->clientScript->registerScriptFile(Yii::app()->params['static'].'assets/js/bootbox.min.js',2); ?>
<div class="page-header">
							<h1>
							<?php echo $ac->name; ?> 活动
							</h1>
</div>
<div class="row">
<div class="col-xs-12">
   <div class="row">
	<form class="form-horizontal" role="form" method="post" action="<?php echo Yii::app()->createUrl('stuactivity/dealjoin'); ?>">
									<input type="hidden" name="activityId" value="<?php echo $ac->activityId; ?>">
									<div class="form-group">
										<div class="col-sm-6 col-sm-offset-3">
										<div class="widget-box">
											<div class="widget-header widget-header-flat">
												<h4 class="smaller">
													活动内容
												</h4>
											</div>

											<div class="widget-body">
												<div class="widget-main">
													
													<div class="row">
														<div class="col-xs-12">
															<p>
															<?php
															  echo $ac->content;
															?>
															</p>
														</div>
													</div>

												</div>
											</div>
										</div>
									</div>
									</div>

								

									<div class="space-4"></div>
                                    <div class="form-group">
										<div class="col-sm-6 col-sm-offset-3">
										<div class="widget-box">
											<div class="widget-header widget-header-flat">
												<h4 class="smaller">
													活动要求
												</h4>
											</div>

											<div class="widget-body">
												<div class="widget-main">
													
													<div class="row">
														<div class="col-xs-12">
															<p>
															<?php
															  echo $ac->requirement;
															?>
															
															</p>
														</div>
													</div>

												</div>
											</div>
										</div>
									</div>
									</div>
									<div class="space-4"></div>
                                   
								
									<div class="form-group">
									    
												<div class="col-sm-6 col-sm-offset-3">
										<div class="widget-box">
											<div class="widget-header widget-header-flat">
												<h4 class="smaller">
													活动详情(学生填写)
												</h4>
											</div>

											<div class="widget-body">
												<div class="widget-main">
													
													<div class="row">
														<div class="col-xs-12">
															<textarea name = "detail"  col="23" rows="14" class="form-control"  placeholder="根据活动要求和和活动内容，在此处填写相关信息"><?php echo $stuAc->detail; ?></textarea>
										    <span class="help-button" data-rel="popover" data-trigger="hover" data-placement="right" data-content="根据活动要求和和活动内容，在此处填写相关信息" title="" data-original-title="亲，您好">?</span>
														</div>
													</div>

												</div>
											</div>
										</div>
									</div>
									
										
									</div>

								

									<div class="space-4"></div>

								

									<div class="clearfix form-actions">
										<div class="col-md-offset-5 col-md-9">
											<button class="btn btn-info" type="submit">
												<i class="icon-ok bigger-110"></i>
												提交
											</button>

											
										</div>
									</div>

								
		</form>
	</div>	
</div>
</div>
<script type="text/javascript">
	  $(document).ready(function(){
	      <?php
		    if(Yii::app()->user->hasFlash('join')){
				
				echo 'bootbox.alert("'.Yii::app()->user->getFlash('join').'",function(){});';
			}
		  ?>
				
 
     });
	
	</script>